<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=0, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel ="shortcut icon" type="image/x-icon" href="favicon.ico">
    <script src="<%= BASE_URL %>jquery-1.10.2.min.js"></script>
    <script src="<%= BASE_URL %>layer/layer.min.js"></script>
    <script src="<%= BASE_URL %>layer/extend/layer.ext.js"></script>
    <script src="<%= BASE_URL %>excel.min.js"></script>
    <!-- <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.8&key=a3c5e63c2b8032a55244c7a27c6f4ee0&plugin=AMap.Autocomplete,AMap.PlaceSearch"></script> -->
    <!-- <script type="text/javascript" src="jquery.min.js"></script> -->
    <!-- <link rel="stylesheet" href="viewer/viewer.min.css"/> -->
    <!-- <script type="text/javascript" src="viewer/viewer.min.js"></script> -->
    <script>

      var g_has_pic_viewer = false;
      function setViewer(list, viewIndex) {
          $("#pic_viewer").html("");
          if(list && list.length > 0) {
              list.forEach((item, idx)=>{
                  var str  = '<li style="width:100%;">';
                  str += '<img rel-src="' + item + '" src="' + item + '">';
                  str += '</li>';
                  $("#pic_viewer").append(str);
              })
          }
      
          setTimeout(()=>{
            console.log($('#pic_viewer'))
              if(g_has_pic_viewer) {
              //     // $('#pic_viewer').viewer('update');
              } else {
                new Viewer($('#pic_viewer'), {
                    // url: "data-original",
                    show: function(){
                          viewer.update();
                    }
                });
              //     $('#pic_viewer').viewer({
              //         url: 'rel-src'
              //     });
              //     g_has_pic_viewer = true;
              }
              $('#pic_viewer').find("img").eq(viewIndex).trigger("click")
          }, 200)
      }
      
    </script>
    <!-- <link rel="stylesheet" href="https://cache.amap.com/lbs/static/main1119.css"/> -->
    <title>幕后街管理后台</title>
    <!-- <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.8&key=a3c5e63c2b8032a55244c7a27c6f4ee0&plugin=AMap.Autocomplete,AMap.PlaceSearch"></script> -->
    <!-- <script type="text/javascript" src="https://cache.amap.com/lbs/static/addToolbar.js"></script> -->
    <!-- <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.8&key=a3c5e63c2b8032a55244c7a27c6f4ee0"></script> -->
  </head>
  <body class="theme theme--blue theme-new-ui without-second-sidebar  hide-help">
    <noscript>
      <strong>We're sorry but mvmc_saas doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <ul id="pic_viewer" style="display:none;"></ul>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
